Integrand size = 24, antiderivative size = 114 \[ \int \frac {a+b \log \left (c (d+e x)^n\right )}{(f+g x)^{5/2}} \, dx=\frac {4 b e n}{3 g (e f-d g) \sqrt {f+g x}}-\frac {4 b e^{3/2} n \text {arctanh}\left (\frac {\sqrt {e} \sqrt {f+g x}}{\sqrt {e f-d g}}\right )}{3 g (e f-d g)^{3/2}}-\frac {2 \left (a+b \log \left (c (d+e x)^n\right )\right )}{3 g (f+g x)^{3/2}} \]
[Out]
Time = 0.05 (sec) , antiderivative size = 114, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {2442, 53, 65, 214} \[ \int \frac {a+b \log \left (c (d+e x)^n\right )}{(f+g x)^{5/2}} \, dx=-\frac {2 \left (a+b \log \left (c (d+e x)^n\right )\right )}{3 g (f+g x)^{3/2}}-\frac {4 b e^{3/2} n \text {arctanh}\left (\frac {\sqrt {e} \sqrt {f+g x}}{\sqrt {e f-d g}}\right )}{3 g (e f-d g)^{3/2}}+\frac {4 b e n}{3 g \sqrt {f+g x} (e f-d g)} \]
[In]
[Out]
Rule 53
Rule 65
Rule 214
Rule 2442
Rubi steps \begin{align*} \text {integral}& = -\frac {2 \left (a+b \log \left (c (d+e x)^n\right )\right )}{3 g (f+g x)^{3/2}}+\frac {(2 b e n) \int \frac {1}{(d+e x) (f+g x)^{3/2}} \, dx}{3 g} \\ & = \frac {4 b e n}{3 g (e f-d g) \sqrt {f+g x}}-\frac {2 \left (a+b \log \left (c (d+e x)^n\right )\right )}{3 g (f+g x)^{3/2}}+\frac {\left (2 b e^2 n\right ) \int \frac {1}{(d+e x) \sqrt {f+g x}} \, dx}{3 g (e f-d g)} \\ & = \frac {4 b e n}{3 g (e f-d g) \sqrt {f+g x}}-\frac {2 \left (a+b \log \left (c (d+e x)^n\right )\right )}{3 g (f+g x)^{3/2}}+\frac {\left (4 b e^2 n\right ) \text {Subst}\left (\int \frac {1}{d-\frac {e f}{g}+\frac {e x^2}{g}} \, dx,x,\sqrt {f+g x}\right )}{3 g^2 (e f-d g)} \\ & = \frac {4 b e n}{3 g (e f-d g) \sqrt {f+g x}}-\frac {4 b e^{3/2} n \tanh ^{-1}\left (\frac {\sqrt {e} \sqrt {f+g x}}{\sqrt {e f-d g}}\right )}{3 g (e f-d g)^{3/2}}-\frac {2 \left (a+b \log \left (c (d+e x)^n\right )\right )}{3 g (f+g x)^{3/2}} \\ \end{align*}
Result contains higher order function than in optimal. Order 5 vs. order 3 in optimal.
Time = 0.03 (sec) , antiderivative size = 85, normalized size of antiderivative = 0.75 \[ \int \frac {a+b \log \left (c (d+e x)^n\right )}{(f+g x)^{5/2}} \, dx=-\frac {4 b e n \operatorname {Hypergeometric2F1}\left (-\frac {1}{2},1,\frac {1}{2},\frac {e (f+g x)}{e f-d g}\right )}{3 g (-e f+d g) \sqrt {f+g x}}-\frac {2 \left (a+b \log \left (c (d+e x)^n\right )\right )}{3 g (f+g x)^{3/2}} \]
[In]
[Out]
\[\int \frac {a +b \ln \left (c \left (e x +d \right )^{n}\right )}{\left (g x +f \right )^{\frac {5}{2}}}d x\]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 208 vs. \(2 (94) = 188\).
Time = 0.36 (sec) , antiderivative size = 425, normalized size of antiderivative = 3.73 \[ \int \frac {a+b \log \left (c (d+e x)^n\right )}{(f+g x)^{5/2}} \, dx=\left [-\frac {2 \, {\left ({\left (b e g^{2} n x^{2} + 2 \, b e f g n x + b e f^{2} n\right )} \sqrt {\frac {e}{e f - d g}} \log \left (\frac {e g x + 2 \, e f - d g + 2 \, {\left (e f - d g\right )} \sqrt {g x + f} \sqrt {\frac {e}{e f - d g}}}{e x + d}\right ) - {\left (2 \, b e g n x + 2 \, b e f n - a e f + a d g - {\left (b e f - b d g\right )} n \log \left (e x + d\right ) - {\left (b e f - b d g\right )} \log \left (c\right )\right )} \sqrt {g x + f}\right )}}{3 \, {\left (e f^{3} g - d f^{2} g^{2} + {\left (e f g^{3} - d g^{4}\right )} x^{2} + 2 \, {\left (e f^{2} g^{2} - d f g^{3}\right )} x\right )}}, -\frac {2 \, {\left (2 \, {\left (b e g^{2} n x^{2} + 2 \, b e f g n x + b e f^{2} n\right )} \sqrt {-\frac {e}{e f - d g}} \arctan \left (-\frac {{\left (e f - d g\right )} \sqrt {g x + f} \sqrt {-\frac {e}{e f - d g}}}{e g x + e f}\right ) - {\left (2 \, b e g n x + 2 \, b e f n - a e f + a d g - {\left (b e f - b d g\right )} n \log \left (e x + d\right ) - {\left (b e f - b d g\right )} \log \left (c\right )\right )} \sqrt {g x + f}\right )}}{3 \, {\left (e f^{3} g - d f^{2} g^{2} + {\left (e f g^{3} - d g^{4}\right )} x^{2} + 2 \, {\left (e f^{2} g^{2} - d f g^{3}\right )} x\right )}}\right ] \]
[In]
[Out]
\[ \int \frac {a+b \log \left (c (d+e x)^n\right )}{(f+g x)^{5/2}} \, dx=\int \frac {a + b \log {\left (c \left (d + e x\right )^{n} \right )}}{\left (f + g x\right )^{\frac {5}{2}}}\, dx \]
[In]
[Out]
Exception generated. \[ \int \frac {a+b \log \left (c (d+e x)^n\right )}{(f+g x)^{5/2}} \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
none
Time = 0.33 (sec) , antiderivative size = 164, normalized size of antiderivative = 1.44 \[ \int \frac {a+b \log \left (c (d+e x)^n\right )}{(f+g x)^{5/2}} \, dx=\frac {4 \, b e^{2} n \arctan \left (\frac {\sqrt {g x + f} e}{\sqrt {-e^{2} f + d e g}}\right )}{3 \, \sqrt {-e^{2} f + d e g} {\left (e f g - d g^{2}\right )}} - \frac {2 \, b n \log \left ({\left (g x + f\right )} e - e f + d g\right )}{3 \, {\left (g x + f\right )}^{\frac {3}{2}} g} + \frac {2 \, {\left (b e f n \log \left (g\right ) - b d g n \log \left (g\right ) + 2 \, {\left (g x + f\right )} b e n - b e f \log \left (c\right ) + b d g \log \left (c\right ) - a e f + a d g\right )}}{3 \, {\left ({\left (g x + f\right )}^{\frac {3}{2}} e f g - {\left (g x + f\right )}^{\frac {3}{2}} d g^{2}\right )}} \]
[In]
[Out]
Timed out. \[ \int \frac {a+b \log \left (c (d+e x)^n\right )}{(f+g x)^{5/2}} \, dx=\int \frac {a+b\,\ln \left (c\,{\left (d+e\,x\right )}^n\right )}{{\left (f+g\,x\right )}^{5/2}} \,d x \]
[In]
[Out]